<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%@ taglib prefix="s" uri="/struts-tags" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <title>My JSP 'login.jsp' starting page</title>
  <s:include value="../../resource/JsAndstyle.jsp"></s:include>
  <body>
    <body class="login-body-bk">
	<table width="942" border="0" height="600" cellspacing="0"
		cellpadding="0">
		<tr>
			<td valign="top" class="login">
				<s:form name="loginForm"  action="/loginAction!login" 
					method="post" onsubmit="return check();"  >
					<table width="100%" border="0" cellpadding="0" cellspacing="0">
						<tr>
							<td height="155" colspan="3">&nbsp;</td>
						</tr>
						<tr>
							<td height="40" colspan="2"></td>
							<td height="40"></td>
						</tr>
						<tr>
							<td height="40"></td>
							<td height="40" colspan="2"><span id="tip"
								style="color: red"><s:actionmessage/></span>
							</td>
						</tr>
						<tr>
							<td height="70" colspan="3"></td>
						</tr>
						<tr>
							<td width="50%" height="24">&nbsp;</td>
							<td width="7%">登录账号</td>
							<td width="43%"><label> <input type="text"
									id="loginName" name="loginUser.loginName" class="from-width" /> </label></td>
						</tr>
						<tr>
							<td height="24">&nbsp;</td>
							<td>登录密码</td>
							<td><label> <input type="password"
									id="loginPassword" name="loginUser.loginPassword"
									class="from-width" /> </label></td>
						</tr>
						<tr>
							<td height="24">&nbsp;</td>
							<td>用户身份</td>
							<td><label>
							<s:select name="login.userType.id"
										list="#{}" listKey="id" listValue="name"
										cssClass="from-width"  >  
									</s:select> 
									
									</label></td>
						</tr>
						<tr>
							<td height="30">&nbsp;</td>
							<td>&nbsp;</td>
							<td><label> <input type="submit" class="login-btn"
									value="登录"  /> </label></td>
						</tr>
					</table>
				</s:form></td>
		</tr>
	</table>
</body>
  </body>
</html>
